package com.scholar.goods.config;


import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;
import org.springframework.web.client.RestTemplate;

/**
 * restTemplate配置
 * @author kimmy
 **/
@Component
public class RestTemplateConfig {

    private static final org.slf4j.Logger LOG = org.slf4j.LoggerFactory.getLogger(RestTemplateConfig.class);

    @Bean
    public RestTemplate restTemplate() {
        return new RestTemplate();
    }

}
